package com.supermarket.user.domain.vo;

import com.supermarket.user.domain.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(description = "用户列表vo")
public class UserVo extends User {
    /**
     * 最近消费时间
     */
    private Date latestConsumptionTime;
    /**
     * 最近消费金额
     */
    private BigDecimal latestConsumptionPrice;
    /**
     * 积累消费次数
     */
    private Integer accumulationConsumptionCount;
    /**
     * 累计消费金额
     */
    private BigDecimal accumulationConsumptionPrice;
}
